﻿namespace Arms.Framework.Security
{
    using System;
    using System.Security.Principal;

    public interface IUser : IPrincipal
    {
        /// <summary>
        /// ID of the user.
        /// </summary>
        int UserID { get; }
        /// <summary>
        /// Determines whether this user has an identity.
        /// </summary>
        bool HasIdentity { get; }
        /// <summary>
        /// Constructs this user object.
        /// </summary>
        /// <param name="userID"></param>
        /// <param name="roles"></param>
    }
}
